package com.zk.nakedfowl.basicData.pojo;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;
import java.io.Serializable;
/**
 * 实体类
 * @author Administrator
 *
 */
@Entity
@Table(name="barcode_machine")
@JsonIgnoreProperties({"hibernateLazyInitializer","handler"})
public class Machine implements Serializable{

	@Id
	private String id;//


	
	private String number;//脚标机编号
	private String slaughterHouseId;//所属的屠宰场id
	private String stallsId;//所档口id

	public String getStallsId() {
		return stallsId;
	}
	public void setStallsId(String stallsId) {
		this.stallsId = stallsId;
	}

	private String userId;//档口负责人（档口的使用者）
	private Double price;//价格（RMB）
	private java.util.Date productDate;//出厂日期
	private String longitude;//所属屠宰场经度
	private String latitude;//所属屠宰场纬度
	private String createBy;//创建者
	private java.util.Date createDate;//创建时间



	
	public String getId() {		
		return id;
	}
	public void setId(String id) {
		this.id = id;
	}

	public String getNumber() {		
		return number;
	}
	public void setNumber(String number) {
		this.number = number;
	}

	public String getSlaughterHouseId() {		
		return slaughterHouseId;
	}
	public void setSlaughterHouseId(String slaughterHouseId) {
		this.slaughterHouseId = slaughterHouseId;
	}

	public String getUserId() {		
		return userId;
	}
	public void setUserId(String userId) {
		this.userId = userId;
	}

	public Double getPrice() {		
		return price;
	}
	public void setPrice(Double price) {
		this.price = price;
	}

	public java.util.Date getProductDate() {		
		return productDate;
	}
	public void setProductDate(java.util.Date productDate) {
		this.productDate = productDate;
	}

	public String getLongitude() {		
		return longitude;
	}
	public void setLongitude(String longitude) {
		this.longitude = longitude;
	}

	public String getLatitude() {		
		return latitude;
	}
	public void setLatitude(String latitude) {
		this.latitude = latitude;
	}

	public String getCreateBy() {		
		return createBy;
	}
	public void setCreateBy(String createBy) {
		this.createBy = createBy;
	}

	public java.util.Date getCreateDate() {		
		return createDate;
	}
	public void setCreateDate(java.util.Date createDate) {
		this.createDate = createDate;
	}


	
}
